package project.unittest;

import static org.junit.Assert.*;

import org.hibernate.validator.AssertTrue;
import org.junit.*;

import project.beans.Credit;
import project.beans.Entrepreneur;
import project.beans.Lender;
import project.beans.Manager;
import project.beans.*;
import project.entity.Person;


public class TestClass {

	
	@Test
	public void testDemandeFinance(){
		
	}
	
	@Test
	public void testFinanceProject(){
		Lender l = new Lender();
		l.financeProject();
		Entrepreneur e = new Entrepreneur();
		e.demandeFinance();
	}
	
	@Test
	public void testFollowupRepayment(){
		Lender l = new Lender();
		l.followupRepayment();		
	}
	
	@Test
	public void testAllotFunds(){
		
			Manager m = new Manager();
			m.allotFunds();
			//Person p = new Person();
			//p.setFirstName("Vez");
	}
	
	@Test
	public void testConsolidateFunds(){
		Manager m = new Manager();
		m.consolidateFunds();
		Entrepreneur e = new Entrepreneur();
		e.demandeFinance();
		} 
		
	
	@Test
	public void testRepayLoan()
	{
		Credit c = new Credit();
		Entrepreneur e = new Entrepreneur();
		c.repayCredit();
	}
	
	@Test
	public void testFollowUpCredit(){
		
		
	}

	
}
